package com.xuliugen.security.core;

import java.io.Serializable;

/**
 * 授权用户得到授权之后的返回对象
 * Created by xuliugen on 2017/11/8.
 */
public class JwtAuthenticationResponse implements Serializable {

    private static final long serialVersionUID = 1250166508152483573L;

    /**
     * 授权之后返回的token
     */
    private final String token;

    public JwtAuthenticationResponse(String token) {
        this.token = token;
    }

    public String getToken() {
        return this.token;
    }
}
